package com.sniper.web.action.home;

import com.sniper.mybatis.service.impl.AdminUserService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
public class HomeController extends HomeBaseController {


    @Resource
    AdminUserService adminUserService;

    @RequestMapping("")
    public String index() {

        int a = adminUserService.pageCount(null);

        System.out.println(a);

        return forward("home/index/index.ftl");
    }
}
